The following code can be placed in a junit test to log execution times:
long start = logger.debugStart("Starting process"); //... code for process logger.debugTime("End process", start);
Copyright © 2016, Oracle and/or its affiliates. All rights reserved. Documentation build: 12.7.2016 11:59:39 [SDK_1481129979000]